<?php
/*
 * статический класс содержащий в себе возможные ошибки при работе с приложением
 */
abstract class Model_Error{
    private static $dbConnectionError = 'DbConnection is lost';
    private static $dbQueryError = 'DbQuery is not valid';
    private static $loginError = 'Login is not valid';
    private static $passwordError = 'Password is not valid';
    private static $nameError = 'Name is not valid';
    private static $ageError = 'Age is not valid';
    private static $sexError = 'Sex is not valid';
    private static $anotherLoginError = 'Enter another Login please, one of our user has it';
    private static $textError = 'Entered text is not valid';
    private static $photoError = 'This user has\'nt got any photos';

    public static function getPhotoError(){
        return self::$photoError;
    }
    public static function getDbConnectionError() {
        return self::$dbConnectionError;           
    }
    public static function getDbQueryError() {
        return self::$dbQueryError;           
    }
    public static function getLoginError() {
        return self::$loginError;           
    }
    public static function getAnotherLoginError() {
        return self::$anotherLoginError;           
    }
    public static function getPasswordError() {
        return self::$passwordError;           
    }
    public static function getNameError() {
        return self::$nameError;           
    }
    public static function getAgeError() {
        return self::$ageError;           
    }
    public static function getSexError() {
        return self::$sexError;           
    }
    public static function getTextError(){
        return self::$textError;
    }
}
